home *** CD-ROM | disk | FTP | other *** search
/ Geek Games #12 / GEGA012.iso / Jogos de Azar / 534.swf / scripts / frame_72 / DoAction.as
Text File  |  2006-01-17  |  2KB  |  122 lines

  1. _root.ball_m._visible = 1;
  2. if(10 < rounding)
  3. {
  4.    _root.ball_m._rotation += 32 - cnt;
  5.    _root.ball_m.ball._y -= 1;
  6.    _root.ball_m.ball._x -= 1;
  7.    if(cnt eq 17)
  8.    {
  9.       _root.ball_m._x += 2;
  10.       _root.ball_m._y += 2;
  11.    }
  12.    if(cnt eq 18)
  13.    {
  14.       _root.ball_m._x -= 2;
  15.       _root.ball_m._y -= 2;
  16.    }
  17.    if(cnt eq 19)
  18.    {
  19.       _root.ball_m._x += 2;
  20.       _root.ball_m._y += 2;
  21.    }
  22.    if(cnt eq 20)
  23.    {
  24.       _root.ball_m._x -= 2;
  25.       _root.ball_m._y -= 2;
  26.    }
  27.    if(cnt eq 21)
  28.    {
  29.       _root.ball_m._x += 2;
  30.       _root.ball_m._y += 2;
  31.    }
  32.    if(cnt eq 22)
  33.    {
  34.       _root.ball_m._x -= 2;
  35.       _root.ball_m._y -= 2;
  36.    }
  37.    if(cnt eq 23)
  38.    {
  39.       _root.ball_m._x += 2;
  40.       _root.ball_m._y += 2;
  41.    }
  42.    if(cnt eq 24)
  43.    {
  44.       _root.ball_m._x -= 2;
  45.       _root.ball_m._y -= 2;
  46.    }
  47.    if(cnt eq 25)
  48.    {
  49.       _root.ballSound.gotoAndPlay("s_ballDrop");
  50.       _root.ball_m._x += 2;
  51.       _root.ball_m._y += 2;
  52.    }
  53.    if(cnt eq 26)
  54.    {
  55.       _root.ball_m._x -= 2;
  56.       _root.ball_m._y -= 2;
  57.    }
  58.    if(cnt eq 27)
  59.    {
  60.       _root.ball_m._x += 2;
  61.       _root.ball_m._y += 2;
  62.    }
  63.    if(cnt eq 28)
  64.    {
  65.       _root.ball_m._x -= 2;
  66.       _root.ball_m._y -= 2;
  67.    }
  68.    if(cnt eq 29)
  69.    {
  70.       _root.ball_m._x += 2;
  71.       _root.ball_m._y += 2;
  72.    }
  73.    if(cnt eq 30)
  74.    {
  75.       _root.ball_m._x -= 2;
  76.       _root.ball_m._y -= 2;
  77.    }
  78.    if(cnt eq 31)
  79.    {
  80.       _root.ball_m._x += 2;
  81.       _root.ball_m._y += 2;
  82.    }
  83.    if(cnt eq 32)
  84.    {
  85.       _root.ball_m._x -= 2;
  86.       _root.ball_m._y -= 2;
  87.    }
  88.    if(cnt eq 23)
  89.    {
  90.       _root.ball_m._x += 2;
  91.       _root.ball_m._y += 2;
  92.    }
  93.    if(cnt eq 34)
  94.    {
  95.       _root.ball_m._x -= 2;
  96.       _root.ball_m._y -= 2;
  97.    }
  98.    if(cnt eq 35)
  99.    {
  100.       _root.ball_m._x += 2;
  101.       _root.ball_m._y += 2;
  102.    }
  103.    if(cnt eq 36)
  104.    {
  105.       _root.ball_m._x -= 2;
  106.       _root.ball_m._y -= 2;
  107.    }
  108.    if(random(10) + 27 < cnt)
  109.    {
  110.       _root.ball_m.play();
  111.    }
  112.    if(35 < cnt)
  113.    {
  114.       gotoAndStop(74);
  115.    }
  116.    cnt++;
  117. }
  118. else if(rounding < 10)
  119. {
  120.    _root.ball_m._rotation += 40;
  121. }
  122.